VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "TestMethodCallsOnObject"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Option Explicit

Private mObj As Object
Private mNum As Long

Public Sub testNumOfAssertsCall()
givenObjectReferenceToMe
whenNumOfAssertsCalled
thenReturnValueSameAsNativeCall
End Sub

''
''
Private Sub givenObjectReferenceToMe()
Set mObj = Me
End Sub
Private Sub whenNumOfAssertsCalled()
mNum = mObj.NumOfAsserts()
End Sub
Private Sub thenReturnValueSameAsNativeCall()
assert.equals mNum, Me.NumOfAsserts, "Returned Value same"
End Sub


Public Function NumOfAsserts() As Long
NumOfAsserts = 1
End Function


